package com.ytjj.qmyx.admin.model.response;

import com.ytjj.qmyx.mall.model.Product;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.math.BigDecimal;

/**
 * @Description TODO
 * @ClassName NewProductResponse
 * 
 *
 * @Version 1.0
 **/

@Data
public class NewProductResponse {

    private Integer id;

    private String productName;

    private BigDecimal subsidy;

    private String platformData;

    /**
     * 推广省份名称
     */
    private String platformText;

    private BigDecimal curPrice;

    public NewProductResponse() {
    }

    public NewProductResponse(Product product) {
        BeanUtils.copyProperties(product, this);

    }
}
